package slw.events
{
	import flash.display.DisplayObject;
	import flash.events.Event;
	
	
	/**
	 * LoaderEvent
	 * Loader类事件类
	 * @author ddx<br/>
	 * 2011-7-21
	 *
	 */
	public class LoaderEvent extends Event
	{
		/**
		 * "loadComplete",Loader类加载资源完成时调度 
		 */		
		public static const LOAD_COMPLETE:String="loadComplete";
		/**
		 * 资源的根显示对象 
		 */		
		public var content:DisplayObject;
		/**
		 * 需要调度的数据数组 
		 */		
		public var datas:Array;
		
		/**
		 * 构造函数 
		 * @param type:String
		 * @param bubbles:Boolean=false
		 * @param cancelable:Boolean=false
		 * @param content:DisplayObject=null 资源的根显示对象 
		 * @param datas:Array=null 需要调度的数据数组
		 * 
		 */		
		public function LoaderEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false,content:DisplayObject=null,datas:Array=null)
		{
			super(type, bubbles, cancelable);
			
			this.content=content;
			this.datas=datas;
		}
		
		/*
		-----------------------------------
		setters getters
		-----------------------------------
		*/
		
		/*
		-----------------------------------
		public  methods
		-----------------------------------
		*/
		
		/*
		-----------------------------------
		private  methods
		-----------------------------------
		*/
		
	}
}